/*
* Copyright © Shanghai Awinic Technology Co., Ltd. 2020-2020. All rights reserved.
* Description: The header file of the public config definition.
* Date： 20201126
* Awinic_Version： aw_soc_driver_v1.0.0
*/
#include "compile_option.h"
#ifdef AW_86802

#ifndef __AW8680X_CONF_H
#define __AW8680X_CONF_H

/* Include ------------------------------------------------------------------*/
#include "aw_type.h"

/* aw public library includes */
#define AW_SYS_MODULE_ENABLE
#define AW_I2C_MODULE_ENABLE
#define AW_FLASH_MODULE_ENABLE
#define AW_UART_MODULE_ENABLE
#define AW_TIMER_MODULE_ENABLE
#define AW_GPIO_MODULE_ENABLE
#define AW_AFE_MODULE_ENABLE
#define AW_WDT_MODULE_ENABLE
#define AW_PWR_MODULE_ENABLE
#define AW_CRC_MODULE_ENABLE
#define AW_I2C_SOFT_MODULE_ENABLE
/* end */

/* Project other includes */

/* end */

/* Exported macro ------------------------------------------------------------*/
#ifdef  USE_FULL_ASSERT
/**
  * @brief  The assert_param macro is used for function's parameters check.
  * @param  expr: If expr is false, it calls assert_failed function
  *         which reports the name of the source file and the source
  *         line number of the call that failed.
  *         If expr is true, it returns no value.
  * @retval None
  */
  #define assert_param(expr) ((expr) ? (void)0U : assert_failed((AW_U8 *)__FILE__, __LINE__))
/* Exported functions ------------------------------------------------------- */
  void assert_failed(AW_U8 *file, AW_U32 line);
#else
	#define assert_param(expr) ((void)0U)
#endif /* USE_FULL_ASSERT */

/* aw public library includes */
#ifdef AW_I2C_MODULE_ENABLE
#include "aw8680x_i2c.h"
#endif

#ifdef AW_FLASH_MODULE_ENABLE
#include "aw8680x_flash.h"
#endif

#ifdef AW_SYS_MODULE_ENABLE
#include "aw8680x_sys.h"
#endif

#ifdef AW_UART_MODULE_ENABLE
#include "aw8680x_uart.h"
#endif

#ifdef AW_TIMER_MODULE_ENABLE
#include "aw8680x_timer.h"
#endif

#ifdef AW_GPIO_MODULE_ENABLE
#include "aw8680x_gpio.h"
#endif

#ifdef AW_AFE_MODULE_ENABLE
#include "aw8680x_afe.h"
#endif

#ifdef AW_WDT_MODULE_ENABLE
#include "aw8680x_wdt.h"
#endif

#ifdef AW_PWR_MODULE_ENABLE
#include "aw8680x_pwr.h"
#endif

#ifdef AW_CRC_MODULE_ENABLE
#include "aw8680x_crc.h"
#endif

#ifdef AW_I2C_SOFT_MODULE_ENABLE
#include "aw8680x_i2c_software.h"
#endif
/* End aw public library includes */

/* Project other includes */

/* end */

#endif
#endif
